package com.mingqijia.gassafety.job.response;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


/**
 * @author guoliang.lao
 * @version 1.0.0
 * @ClassName LatestLogListRequest.java
 * @Description 实时状态列表返回
 * @createTime 2022年02月21日
 */
@Data
public class LatestLogListResponse {
    @ApiModelProperty("客户id")
    private Integer consumerId;

    @ApiModelProperty("设备ID")
    private String equipmentId;

    @ApiModelProperty("设备号")
    private String imei;

    @ApiModelProperty("设备名称")
    private String equipmentName;

    @ApiModelProperty(value = "设备厂商")
    private String equipmentManufacturer;

    @ApiModelProperty("设备类型")
    private String equipmentType;

    @ApiModelProperty("设备类型名称")
    private String equipmentTypeName;

    @ApiModelProperty("设备位置")
    private String installationPosition;

    @ApiModelProperty(value = "检测类型")
    private String detectionType;

    @ApiModelProperty("设备状态 0:离线 1:正常 2:低报 3:高报 4:故障 5:屏蔽")
    private Integer equipmentStatus;

    @ApiModelProperty("设备状态信息")
    private String equipmentStatusInfo;

    @ApiModelProperty(value = "运营商")
    private String operators;

    @ApiModelProperty(value = "通讯方式")
    private String communicationMode;

    @ApiModelProperty("最近一次上报时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date latestTime;

    @ApiModelProperty("电池电压")
    private Double btV;

    @ApiModelProperty("信号情况")
    private Integer signal;

    @ApiModelProperty("信号情况说明")
    private String signalStr;

    @ApiModelProperty("气体浓度")
    private String xlel;

    @ApiModelProperty(value = "设备绑定时间")
    private String bindingTime;

    //经纬度
    private String location;

    @ApiModelProperty(value = "电磁阀名称")
    private String valveName;

    @ApiModelProperty(value = "电磁阀型号")
    private String valveModel;

    @ApiModelProperty(value = "电磁阀材质")
    private String valveMaterial;

    @ApiModelProperty(value = "电磁阀厂家")
    private String valveManufacturer;

    @ApiModelProperty(value = "电磁阀关联时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date valveBindTime;
}
